package com.dodo.blog.ui.message;

/**
 * @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
 */
public abstract class Message
{
    private String id;

    private String message;

    private MessageLevel level;

    private MessageType type;

    public Message( String message, MessageLevel level, MessageType type )
    {
        this.message = message;
        this.level = level;
        this.type = type;
    }

    public Message( String id, String message, MessageLevel level, MessageType type )
    {
        this.id = id;
        this.message = message;
        this.level = level;
        this.type = type;
    }

    public String getId()
    {
        return id;
    }

    public void setId( String id )
    {
        this.id = id;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage( String message )
    {
        this.message = message;
    }

    public MessageLevel getLevel()
    {
        return level;
    }

    public void setLevel( MessageLevel level )
    {
        this.level = level;
    }

    public MessageType getType()
    {
        return type;
    }

    public void setType( MessageType type )
    {
        this.type = type;
    }
}
